package com.guapi.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.guapi.annotation.TimeFlag;
import com.guapi.annotation.UniqueIndex;
import lombok.Data;

@Data
@TableName("task")
public class Task extends BaseDao {
    @TableField("task_name")
    @UniqueIndex
    private String taskName;

    @TableField("task_desc")
    private String taskDesc;

    private String salary;

    private String level;

    @TimeFlag("deadLineTime")
    private String deadline;

    @TimeFlag("expiredTime")
    private String expired;

    private String receiver;

    private String publisher;

    private String finished;
}
